/******************************************************************************
 * @section DESCRIPTION
 *
 * Save model state.
 *
 * @section LICENSE
 *
 * The Variable Infiltration Capacity (VIC) macroscale hydrological model
 * Copyright (C) 2016 The Computational Hydrology Group, Department of Civil
 * and Environmental Engineering, University of Washington.
 *
 * The VIC model is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, write to the Free Software Foundation, Inc.,
 * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *****************************************************************************/

#include <vic_driver_shared_image.h>
#include <rout.h>

/******************************************************************************
 * @brief    Save model state.
 *****************************************************************************/
void
state_metadata_rout_extension()
{
    extern metadata_struct state_metadata[N_STATE_VARS + N_STATE_VARS_EXT];

    // STATE_ROUT_RING
    strcpy(state_metadata[N_STATE_VARS + STATE_ROUT_RING].varname,
           "STATE_ROUT_RING");
    strcpy(state_metadata[N_STATE_VARS + STATE_ROUT_RING].long_name,
           "routing_ring");
    strcpy(state_metadata[N_STATE_VARS + STATE_ROUT_RING].standard_name,
           "routing_ring");
    strcpy(state_metadata[N_STATE_VARS + STATE_ROUT_RING].units, "-");
    strcpy(state_metadata[N_STATE_VARS + STATE_ROUT_RING].description,
           "unit hydrographs in the routing ring");
}
